{include file="common/header.html"}
<script type="text/javascript">
 var jq = jQuery.noConflict();
jq(".nav-header").click(function() {
     jq(".ckit").each(function() {
           jq(this).slideUp('normal');
      });
      jq(this).next(".ckit").slideDown('normal');
  });
jq(".selected").parent(".ckit").slideDown(0);
 </script>
</head>
<body id="nv_member">

<div id="wp" class="wp">
    	
    <!--中间内容-->
    	<div class="contentmanage">
            <div class="tableContent">
                <div class="content">
                    <div class="cLineB">
                        <h4 class="left">
                            系统设置
                        </h4>
                        <!--
                        <a href="#"
                        class="right btnGrayS vm">
                            返回
                        </a>
                        -->
                        <div class="clr">
                        </div>
                    </div>
                    <div class="msgWrap bgfc">
                        <form action="admin.php?m=setting&a=add" name="f1" id="f1" method="post" class="form-horizontal form-validate">
                        	<input type="hidden" name="id" value="{$formData.id}" />
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    公众号名称：
                                </label>
                                <div class="controls">
                                    <input type="text" id="app_name" name="formData[app_name]" required="" value="{$formData.app_name}" class="input-large"
                                    data-rule-required="true" data-rule-maxlength="20">
                                    <span class="maroon">
                                        *
                                    </span>
                                    <span class="help-inline">
                                    </span>
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    公众号名称(英文)：
                                </label>
                                <div class="controls">
                                    <input type="text" id="app_name" name="formData[app_name_en]"  value="{$formData.app_name_en}" class="input-large"
                                    data-rule-required="true" data-rule-maxlength="20">
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    签到积分设置：
                                </label>
                                <div class="controls">
                                    <input type="text" id="sign_point_min" name="formData[sign_point_min]" value="{$formData.sign_point_min}" class="input-large"  data-rule-required="false" data-rule-maxlength="200">
                                    －－
                                    <input type="text" id="sign_point_max" name="formData[sign_point_max]" value="{$formData.sign_point_max}" class="input-large"  data-rule-required="false" data-rule-maxlength="200">
                                </div>
                            </div>
                            <!--
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    麦流量CP USER：
                                </label>
                                <div class="controls">
                                    <input type="text" id="cp_user" name="formData[cp_user]" value="{$formData.cp_user}" class="input-large"  data-rule-required="false" data-rule-maxlength="200">
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    麦流量API KEY：
                                </label>
                                <div class="controls">
                                    <input type="text" id="api_key" name="formData[api_key]" value="{$formData.api_key}" class="input-large" style="width:300px" data-rule-required="true" data-rule-maxlength="200">
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    麦流量SECRET KEY：
                                </label>
                                <div class="controls">
                                    <input type="text" id="secret_key" name="formData[secret_key]"  value="{$formData.secret_key}" class="input-large" style="width:300px"  data-rule-required="true" data-rule-maxlength="200">
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    微信支付PARTER ID：
                                </label>
                                <div class="controls">
                                    <input type="text" name="formData[partner_id]" value="{$formData.partner_id}" class="input-large" style="width:300px" data-rule-required="true" data-rule-maxlength="200">
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    微信支付PARTER KEY：
                                </label>
                                <div class="controls">
                                    <input type="text" name="formData[partner_key]" value="{$formData.partner_key}" class="input-large" style="width:300px" data-rule-required="true" data-rule-maxlength="200">
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    微信支付证书apiclient_cert.pem：
                                </label>
                                <div class="controls">
                                    <input type="text" id="apiclient_cert" name="formData[apiclient_cert]" value="{$formData.apiclient_cert}" class="input-large" style="width:300px" data-rule-required="true" data-rule-maxlength="200">
                                    <a href="javascript:;" onclick="window.open('admin.php?m=upload&formname=f1&editname=apiclient_cert&f_type=1','文件上传','left=300px,height=400,width=500');" class="btnGrayS">文件上传</a>
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    微信支付证书apiclient_key.pem：
                                </label>
                                <div class="controls">
                                    <input type="text" id="apiclient_key" name="formData[apiclient_key]" value="{$formData.apiclient_key}" class="input-large" style="width:300px" data-rule-required="true" data-rule-maxlength="200">
                                    <a href="javascript:;" onclick="window.open('admin.php?m=upload&formname=f1&editname=apiclient_key&f_type=1','文件上传','left=300px,height=400,width=500');" class="btnGrayS">文件上传</a>
                                </div>
                            </div>
                            -->
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    关注链接：
                                </label>
                                <div class="controls">
                                    <input type="text" id="logo" name="formData[follow_url]" value="{$formData.follow_url}"class="input-large" style="width:500px"data-rule-required="true" data-rule-maxlength="100">
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    无匹配回复时默认启用：
                                </label>
                                <div class="controls">
                                    <textarea id="copyright" name="formData[default_text_return]" class="input-large" style="width:500px">{$formData.default_text_return}</textarea>
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    关注时回复文字：
                                </label>
                                <div class="controls">
                                    <textarea id="copyright" name="formData[welcome_text]" class="input-large" style="width:500px">{$formData.welcome_text}</textarea>
                                </div>
                            </div>
                            <!--  
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    版权信息：
                                </label>
                                <div class="controls">
                                    <textarea id="copyright" name="formData[copyright]" class="input-large" style="width:500px">{$formData.copyright}</textarea>
                                    <span class="help-inline">
                                    版权信息会在前台显示
                                    </span>
                                </div>
                            </div>
                            -->
                    <div class="form-actions">
                        <button type="submit" name="button" class="btnGreen">
                            保存
                        </button>
                        <a href="javascript:history.go(-1);" class="btnGray vm">
                            取消
                        </a>
                    </div>
                    </form>
                </div>
            </div>
            <div class="clr">
            </div>
        </div>
    </div>
</div>
<!--底部-->

 </body></html>